package com.ruoyi.project.carManage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 四向车监控对象 car_manage
 * 
 * @author ruoyi
 * @date 2024-12-25
 */
public class CarManage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备编码 */
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String name;

    /** 对应当前层 */
    @Excel(name = "对应当前层")
    private String floor;

    /** 对应货区 */
    @Excel(name = "对应货区")
    private String area;

    /** Y轴距离 */
    @Excel(name = "Y轴距离")
    private Long distance;

    /** 目标层 */
    @Excel(name = "目标层")
    private Long mbFloor;

    /** 电量 */
    @Excel(name = "电量")
    private String dl;

    /** 设备状态 */
    @Excel(name = "设备状态")
    private String sbzt;

    /** 允许下发 */
    @Excel(name = "允许下发")
    private String yxxf;

    /** 最小层 */
    @Excel(name = "最小层")
    private String minFloor;

    /** 最大层 */
    @Excel(name = "最大层")
    private String maxFloor;

    /** X轴距离 */
    @Excel(name = "X轴距离")
    private Long distanceX;

    /** 载货状态 */
    @Excel(name = "载货状态")
    private Long zhzt;

    /** 小车IP */
    @Excel(name = "小车IP")
    private String ip;

    /** 小车端口 */
    @Excel(name = "小车端口")
    private Long port;

    /** 下发时间 */
    @Excel(name = "下发时间")
    private String sendTime;

    /** 空闲时间（分钟） */
    @Excel(name = "空闲时间", readConverterExp = "分=钟")
    private Long easyTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setFloor(String floor) 
    {
        this.floor = floor;
    }

    public String getFloor() 
    {
        return floor;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setDistance(Long distance) 
    {
        this.distance = distance;
    }

    public Long getDistance() 
    {
        return distance;
    }
    public void setMbFloor(Long mbFloor) 
    {
        this.mbFloor = mbFloor;
    }

    public Long getMbFloor() 
    {
        return mbFloor;
    }
    public void setDl(String dl) 
    {
        this.dl = dl;
    }

    public String getDl() 
    {
        return dl;
    }
    public void setSbzt(String sbzt) 
    {
        this.sbzt = sbzt;
    }

    public String getSbzt() 
    {
        return sbzt;
    }
    public void setYxxf(String yxxf) 
    {
        this.yxxf = yxxf;
    }

    public String getYxxf() 
    {
        return yxxf;
    }
    public void setMinFloor(String minFloor) 
    {
        this.minFloor = minFloor;
    }

    public String getMinFloor() 
    {
        return minFloor;
    }
    public void setMaxFloor(String maxFloor) 
    {
        this.maxFloor = maxFloor;
    }

    public String getMaxFloor() 
    {
        return maxFloor;
    }
    public void setDistanceX(Long distanceX) 
    {
        this.distanceX = distanceX;
    }

    public Long getDistanceX() 
    {
        return distanceX;
    }
    public void setZhzt(Long zhzt) 
    {
        this.zhzt = zhzt;
    }

    public Long getZhzt() 
    {
        return zhzt;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setPort(Long port) 
    {
        this.port = port;
    }

    public Long getPort() 
    {
        return port;
    }
    public void setSendTime(String sendTime) 
    {
        this.sendTime = sendTime;
    }

    public String getSendTime() 
    {
        return sendTime;
    }
    public void setEasyTime(Long easyTime) 
    {
        this.easyTime = easyTime;
    }

    public Long getEasyTime() 
    {
        return easyTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("floor", getFloor())
            .append("area", getArea())
            .append("distance", getDistance())
            .append("mbFloor", getMbFloor())
            .append("dl", getDl())
            .append("sbzt", getSbzt())
            .append("yxxf", getYxxf())
            .append("minFloor", getMinFloor())
            .append("maxFloor", getMaxFloor())
            .append("distanceX", getDistanceX())
            .append("zhzt", getZhzt())
            .append("ip", getIp())
            .append("port", getPort())
            .append("sendTime", getSendTime())
            .append("easyTime", getEasyTime())
            .toString();
    }
}
